Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NDiagramSurface<TItem,TItemCollection,TSelection> Class / DoDragDrop Method


In This Topic
    DoDragDrop Method (NDiagramSurface<TItem,TItemCollection,TSelection>)
    In This Topic
    Requests a drag and drop operation for the specified items. Calls the funcResult delegate when the operation has completed. Calls the queryContinueDrag delegate while the operation is performed. Returns whether the Drag and Drop was requested.
    Syntax
    'Declaration
     
    
    Public MustOverride Function DoDragDrop( _
       ByVal items As NList(Of NDiagramItem), _
       ByVal dragEnded As Nevron.Nov.Function(Of NDragEndedEventArgs), _
       ByVal queryContinueDrag As Nevron.Nov.Function(Of NQueryDragActionEventArgs) _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDiagramSurface(Of TItem,TItemCollection,TSelection)
    Dim items As NList(Of NDiagramItem)
    Dim dragEnded As Nevron.Nov.Function(Of NDragEndedEventArgs)
    Dim queryContinueDrag As Nevron.Nov.Function(Of NQueryDragActionEventArgs)
    Dim value As System.Boolean
     
    value = instance.DoDragDrop(items, dragEnded, queryContinueDrag)
    public abstract System.bool DoDragDrop( 
       NList<NDiagramItem> items,
       Nevron.Nov.Function<NDragEndedEventArgs> dragEnded,
       Nevron.Nov.Function<NQueryDragActionEventArgs> queryContinueDrag
    )

    Parameters

    items
    dragEnded
    queryContinueDrag
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also